﻿using System;

namespace TC
{
    public interface ITranslate<T0, T1>
    {
        T1 OnTranslate(T0 t);
    }

    public abstract class TranslateBlueprint : ITranslate<Node, editor.cfg.blueprint.Node>
    {
        public abstract editor.cfg.blueprint.Node OnTranslate(Node node);
    }

    public abstract class TranslateTree : ITranslate<Node, editor.cfg.behaviourtree.TreeNode>
    {
        public abstract editor.cfg.behaviourtree.TreeNode OnTranslate(Node node);
    }
}
